import { ref } from 'vue'
import { defineStore } from 'pinia'
export const useDialogEvents = defineStore('dialogEvents', () => {
  // MapGIS事件数据
  let events = ref({})
  // 事件图层所有数据
  let allEvents = ref([])
  // 事件更新的数据
  let changeEvents = ref()
  // 事件添加数据
  let addEventPosition = ref()
  // 搜索框查询
  let searchEvent = ref([])
  return { events, allEvents, changeEvents, addEventPosition, searchEvent }
})
